package com.jielin.handling.bean.user;

import lombok.Data;

@Data
public class UserSession {
	private String username;
	
	public static UserSession convert(User user) {
		UserSession userSession = new UserSession();
		userSession.setUsername(user.getUsername());
		return userSession;
	}

}
